﻿using System.Web.Mvc;

namespace idoshop.Areas.admin {
    public class adminAreaRegistration : AreaRegistration {
        public override string AreaName {
            get {
                return "admin";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context) {
            context.MapRoute(
                "admin_default",
                "admin/{controller}/{action}/{id}",
                new { action = "Index", controller = "Login", id = UrlParameter.Optional }
            );
        }
    }
}
